﻿namespace NTLib.Pipe.Streaming.Containers
{
    using System;
    using System.IO;

    /// <summary>
    /// Define the information to send or received
    /// </summary>
    public interface IPackage : IDisposable
    {
        #region Properties

        /// <summary>
        /// Gets the identifier.
        /// </summary>
        Guid Id { get; }

        /// <summary>
        /// Gets the stream.
        /// </summary>
        Stream Stream { get; }

        #endregion
    }
}
